Battery charging circuit for charging NIMH and NICD batteries

ABSTRACT

An improved battery charging circuit provides a single circuit for charging both Ni-MH and Ni-Cd batteries. Separate circuits are provided for sensing an end of charge sequence for both battery types. Both circuits operate simultaneously, and one circuit will generate and end of charge signal when a battery corresponding to its type is fully charged. When either circuit signals that a sequence is complete, charging ends. This provides for charging either type of battery without the necessity for determining the type of battery being charged.

FIELD OF THE INVENTION

The present invention relates to battery charging, and particularly to a battery charger which can be used with either nickel cadmium (NICD) batteries or nickel metal hydride (NIMH) batteries.

BACKGROUND OF THE INVENTION

Through the proliferation of portable equipment and appliances, the demand for rechargeable batteries is rising by the day. This has brought about innovations and improvement in rechargeable battery design. The most commonly used secondary battery used in portable applications is the Nickel Cadmium (NICD) battery.

Although newer NICD batteries offer higher energy densities, the demand for more power and longer operation time is outstripping the pace of its progress. There is also an increasing concern about contamination of the environment during disposal of spent NICD cells due to the toxic nature of its Cadmium content. These created a pressing need for a new kind of battery to replace the NICD cell. This battery should have a higher energy storage density than the best NICD designs but should not possess any harmful content in its composition that can hurt the environment during disposal (i.e. easily disposable).

The new Nickel Metal Hydride (NIMH) battery provides a viable alternative to its NICD counterpart as it meets the two above-mentioned requirements. Average capacity improvement of the NIMH cell over the high performance NICD cell is around 30%. Also, since it does not contain any heavy metal in its composition, it has minimal impact on the environment and thus is easily disposable.

Thus, there is now a demand for a battery charger which can charge both NICD and NIMH battery cells. A difficulty arises in that these batteries have different charging characteristics.

When charging a NICD or NIMH battery, the voltage and cell temperature characteristics take the form as illustrated in FIGS. 5 and 6. As illustrated in FIG. 5, the battery voltage increases slowly for 90% of the battery capacity during charging, but starts to climb steeply after that from point P1 in FIG. 5. The voltage then levels off at point P3 and, for a NICD battery, then starts to decline from point P3 to point P4. This is shown by curve b in FIG. 5. However, for a NIMH battery, the voltage tends to flatten out, from points P3 to P5 in curve a of FIG. 5.

FIG. 6 illustrates the temperature curve. The temperature increases gradually for 90% of the capacity (with a steeper increase for the NIMH battery) and increases more steeply near to the point of full charge, points P6 to P7 in curve c representing a NICD battery and points P8 to P9 in curve d representing a NIMH battery.

It is currently known to detect the end of battery charging for NICD batteries using a negative dV detection method, namely to detect the drop between P3 and P4 in curve b of FIG. 5. It is further known to use a dT/dt or peak voltage detection method for NIMH batteries. The dT/dt detection method looks at the change between points P6 and P7 on the NICD curve and points P8 and P9 on the NIMH curve. The peak voltage method detects the peak value P3 of FIG. 5. Thus, one difficulty with existing battery chargers is that it is necessary to determine what type of battery is being charged and to select the end of charge detection method accordingly.

Moreover, each of the existing methods of detection suffers from disadvantages.

For NICD batteries, if -dV detection is used, the probability of false detection and premature charge termination is high due to the abundance of switching and other noises present on the battery voltage during operation of the charger.

For NIMH batteries, if only dT/dt is used, they are normally not provided with a full charge (100%). Consequently, a lower current trickle charge which may require to be supplied for three to four hours, needs to be provided in order to ensure full charge.

If only zero dV/dt (or peak voltage) is used for detection for NIMH batteries, false detection is also common as the major portion of the charging curve (from 10% to 90% in FIG. 5) is also relatively flat, depending on the charging rate.

The invention seeks to provide a versatile battery charger which can be used for both NICD and NIMH batteries.

SUMMARY OF THE INVENTION

According to the present invention there is provided a battery charging circuit including:

a voltage drop detection circuit for producing a first detection signal on detecting a drop in cell voltage with respect to time;

a voltage detection circuit for producing a second detection signal on detecting a period of constant cell voltage with respect to time; and

means for enabling said detection circuits to receive the voltage from a battery to be charged, wherein charging is terminated on production of either the first or second detection signals.

Thus, the present invention enables a battery charger to be constructed which can be used for both NICD and NIMH batteries without the need to identify the type of battery being charged.

Preferably, the enabling means includes a circuit for measuring the rate of change of temperature of a battery cell to be charged with respect to time (a dT/dt circuit). The enabling means can also include a circuit for measuring the rate of change of a cell voltage with respect to time a (dV/dt circuit).

Moreover, an appropriate one of the dV/dt and dT/dt circuits can be selected for carrying out pre-measurements prior to the actual measurements for charge termination. The selection between the dV/dt circuit and the dT/dt circuits can be made responsive to a thermistor included in the battery pack.

The pre measurement using the dV/dt or dT/dt circuit is particularly useful in avoiding false detection due to noise.

For a better understanding of the present invention and to show how the same may be carried into effect, reference will now be made by way of example to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a battery charging system;

FIG. 2 is a circuit diagram of a battery charger controller;

FIG. 3 is a flow chart illustrating the sequence of operation of the battery charger controller;

FIG. 4 is a block diagram of those components forming the battery charger monitor;

FIG. 5 is a graph of voltage against capacity indicating the characteristics of NIMH(a) and NICD(b) cells;

FIG. 6 is a graph of temperature against capacity indicating the characteristics of NIMH(d) and NICD(c) cells;

FIG. 7 is a block diagram of a negative (-dV) voltage detector; and

FIGS. 8a and 8b illustrate how the -dV detects and overcomes the problem of noise spikes.

DESCRIPTION OF THE PREFERRED EMBODIMENT

There follows a description of a low cost, reliable, efficient and accurate battery charger for Ultra-fast or Fast charging (one hour or sub-hour charging time) of NICD or NIMH batteries. The detection concepts include universal end-of-charge detection when charging NICD and/or NIMH batteries without the need to indicate which kind of battery is being used by the user; simple, low cost but accurate way of implementing negative delta-V detection (with which the present invention is principally concerned); and a whole series of charge termination techniques to ensure fast but safe battery charging.

FIG. 1 illustrates a battery charger controller Y3 in use with an ac/dc converter Y1, a constant current charger circuit Y2 and a NICD or NIMH battery pack Y4 to realise a basic fast (one hour or less) battery charger.

The ac/dc converter Y1 is connected via a switching element in the form of a transistor Y6 to the primary side of a transformer Y17. The primary side of the transformer Y17 is connected to the output of a bridge rectifier Y5 across which is connected an ac power supply Y8 having a range of between 90 to 270 V. The ac/dc converter Y1 converts AC power from the supply Y8 to DC power on line Y7 on the secondary side of the transformer Y17 through the bridge rectifier Y5 and the switching element Y6. Power line Y7, in addition to supplying power to a portable computer through an auxiliary output AO, also supplies power for battery charging through the constant current charger circuit Y2. The constant current charger circuit is a power converter which provides a constant current through its output Qc to charge the battery pack Y4. A relatively constant current is needed for charging the battery if a voltage drop (-dV) method of end-of-charge detection is to be used, as any variation in the voltage level during charging must then be due to the capacity of the battery. Reference Y9 denotes a thermistor which can be supplied with the battery pack Y4 for reasons explained hereinafter.

FIG. 2 illustrates the composition of the battery charger controller Y3 (within the dotted boundary). In FIG. 2, the thick black lines denote an 8 bit bus and the thin line denotes a single bit line. Inputs for the charger controller Y3 include a voltage on the auxiliary output AO (terminal AUX), the battery voltage (terminal V_(batt)), a cell temperature signal (terminal Temp) and a power-on signal (terminal Power-on). Outputs from the charger controller Y3 are supplied by drivers M20,M21 and M22 to implement ultra-fast charging, fast charging or trickle charging respectively at the external charger circuit Y2.

Upon power-up, a power sharing detector M2 implements ultra-fast charging. This is done by appropriate signals from the Q and Q outputs 2,4 of the power sharing detector M2, through gates M18 and M19, which control the drivers M20 and M21. The gate M18 has one input connected to the Q output 2 of the power sharing detector M2 and its other input connected to the Q output 22 of a flip-flop M17 which will be described later. The gate M19 has one input connected to the Q output 4 of the power sharing detector M2 and its other input connected to the Q output 22 of the flip-flop M17. If the computer is off, charging will be in the ultra-fast mode. Actual implementation of the charging rate is by the external charger circuit Y2, controlled by the drivers M20,M21 and M22. A detailed description of the power sharing detector device M2, including how measurements and decisions are made, is given in our copending application Ser. No. 08/192,001 (Page White & Farrer Ref. 73682), the contents of which are herein incorporated by reference.

The cell temperature read from thermistor Y9 (FIG. 1), is supplied to the Temp terminal, and fed through an ADC channel plus filter M4 into a thermistor detector circuit M6. In the case that the thermistor Y9 is used in the battery pack Y4 and connected to the charger controller, a dT/dt detector M7 is enabled by the Q output 6 of the thermistor detector M6. If a thermistor is not used, a dV/dt detector M5 is enabled by the Q output 8 of the thermistor detector M6.

If the dT/dt detector M7 is enabled, the rate of change of the cell temperature is measured. If this rate exceeds a certain limit, a dT/dt flag will be set, indicating a fast rising cell temperature, which is normally the case just before the end-of-charge of the battery. The setting of the dT/dt flag will be indicated by a "high" level at the Q output 10 of the dT/dt detector of the block M7.

If the dV/dt detector M5 is enabled, the rate of change of the battery voltage is measured. If it is found to be rising at or above a predetermined rate, a dV/dt flag will be set. This is also an indication that end of charge is approaching as normally, near to the end-of-charge point (90% capacity point), the battery voltage rises steeply before levelling off at its peak and later dips (in the case of an NICD battery) or flattens out (in the case of an NIMH battery).

Whether the dV/dt or the dT/dt flag is set, both a -dV detector M9 and a zero dV/dt detector M10 will be enabled by the Q outputs 12,10 from the dV/dt and dT/dt detectors M5 and M7 through a gate M8. At the -dV detector M9 any voltage drop after the setting of the dT/dt or dV/dt flag will be detected and verified. Confirmation of a true voltage drop detection will be indicated by setting a -dV flag putting a "high" level at the Q output 14 of the -dV detector M9. Detailed explanation of the -dV detector follows later.

Simultaneously, the zero dV/dt detector M10 measures the slope of the battery voltage until a flat slope is detected within a certain time frame. This flat slope indicates that the peak voltage of the battery has been reached and can be used as an end-of-charge indication, particularly for an NIMH battery which may not exhibit any pronounced voltage dip in its fully charged state. Its Q output 16 is set high in this state.

Since the -dV and zero dV/dt detectors M9,M10 operate simultaneously, either a voltage dip or a flat slope may be detected to indicate end-of-charge, depending on which detection is first detected. Thus both NICD and NIMH batteries can be charged by the same system without the need to tell the system which kind of battery is being used.

Setting of the -dV flag or the zero dV/dt flag, indicated by a "high" at the Q output 14 of M9 or 16 of M10, will set the flip-flop M17 through a gate M16. Once M17 is set by a "high" at its D input 18, its Q output 20 will go "high" to enable trickle charging and its Q output 22 will go "low", disabling ultra-fast or fast charging through the gates M18,M19 connected to the drivers M20,M21.

The circuits M3,M4,M5,M6,M7,M8,M9 and M10 constitute a battery charger monitor BCM which is described in more detail with reference to FIG. 4.

The flip-flop M17 can also be set by other circuits besides M9 and M10, as described in the following.

A battery presence detector M15, connected to sample the battery voltage at terminal V_(batt) through an ADC channel and filter M3, can determine whether a battery is present at the V_(batt) terminal or not. This is because the Qc output 1 of the constant current charger Y2 in FIG. 1 assumes a preset voltage value when the battery Y4 is not connected, which is distinctively higher than the maximum voltage that the battery can go in its fully charged state. Thus if the battery presence detector M15 detects a value nearer to the preset output level of the constant current charger Y2 it will interpret that the battery is not present and set the flip-flop M17 through the gate M16, by having a "high" level at its Q output 24.

However, if a battery is subsequently reconnected to the battery terminal, the battery presence detector M15 will detect its presence and reset its Q output 24 to a "low" level. This negative going transition will trigger a reset circuit M26 to reset all detectors in the battery charger controller Y3 by a signal RAD at its output for a fresh detection cycle. This enables new packs of batteries to be charged upon replacement without the need for power reset.

The flip-flop M17 is normally reset to enable ultra-fast or fast charging, enabling drivers M20 and M21 and disabling driver M22 upon power-up, provided the ambient temperature in the battery pack Y4 before the start of charging falls within a temperature window. This temperature window is set by a range defined by a lowest and highest value, for example, 0° C. and 40° C. respectively. The reason is that if the ambient temperature around the battery pack Y4 is outside this range, it is not advisable to have ultra-fast or fast charging of the battery due to charge efficiency and safety reasons. This ambient temperature comparison is done by an ambient temperature detector M24 receiving the temperature range Rt at its input 28. The detector M24 is enabled on power-up by a signal at its enable input 30. If the temperature is within range, the detector M24 will output on its Q output 32 a "high" signal to a set pin 34 of the flip-flop M17. After this the Q and Q outputs 20,22 of M17 will be determined by the states of any one of eight detection circuits M9,M10,M11,M13,M14,M15,M25 or M28, that is a "high" signal from the outputs of any one of these circuits will inhibit ultra-fast or fast charging and enable trickle charging.

Detection circuits M9,M10 and M15 have been described above. M11 denotes a maximum temperature detector which samples the digital form of the cell temperature during charging from the Temp input via the ADC channel and filter M4. The maximum temperature detector M11 will set a Temp flag at its Q output 38 if its input exceeds a certain maximum value Tmax set internally. This maximum value Tmax could be in the range of 50° to 60° C. Above this temperature (by 1° C. or more) it is not advisable to charge the battery using a high current due to charge efficiency and safety reasons. The setting of the Temp flag on line 38 will set the flip-flop M17 thereby switching the charging rate to the trickle mode.

During the initial 3 to 5 minutes of the charging cycle, the rate of change of the battery voltage at terminal V_(batt) is monitored by a full cell detector circuit M25. Since for an already charged battery its voltage rises rapidly for the first few minutes of recharging, this occurrence can be detected by the circuit M25 to indicate a "full" battery. Thus a "high" signal is generated at its Q output 40 which sets the flip-flop M17 via the gate M16. The time frame used to set the initial period for this "full" cell detection is generated by a one-shot timer M12 which is triggered by the Power-on signal from the Power-on terminal.

There is also a maximum voltage detector M28 which measures the battery voltage during the initial few minutes of the charging cycle and cuts off charging if its value exceeds a maximum voltage reference V_(max), as the battery is most likely a "full" one. This is done by its Q output 44 going high and being supplied to the gate M16 via a gate M29. The time frame used for this detection is also taken from the one-shot timer M12, connected to the enable input 42 of the maximum voltage detector M28. By detecting fully charged batteries during the initial portion of the charge cycle by detectors M25 and M28, unnecessary charging can be avoided and also the battery is better protected against overcharging.

During the same time frame set by the one-shot timer M12 as mentioned above, a faulty cell detector M13 also operates. After this preset time frame during which ultra-fast or fast charging is in progress, the detector M13 will measure the battery voltage and if it is below a certain minimum level V_(min), its Q output 46 goes "high" and the flip-flip M17 is set.

Finally, there is a count-down timer M14 which starts counting down after receiving the power-on signal at its input 48 and sets the flip-flop M17 via its Q output 50 through gate M16 when its content is decremented to zero. Both this timer M14 and the maximum temperature detector M11 are important to terminate charging in cases when the main detection methods (dV/dt M5, dT/dt M7, -dV M9 and zero dV/dt M10) fail, so as to ensure the survival of the battery pack at the high charging current.

M27 denotes a clock circuit which generates clock signals for each charging cycle. All readings are taken once every charge cycle.

FIG. 3 is the flow chart of the operation inside the described battery charger circuit.

After power-on but before charging starts, the cell temperature is measured in the ambient temperature detector circuit M24. If it falls outside the temperature window Rt (0° C. to 40° C., as mentioned before) trickle charging M22 will take place until it falls back to within range. If cell temperature is within range, ultra-fast charging M20 will be done.

During the first few minutes of charging set by the one-shot timer M12 the battery voltage is measured by circuit M28. If it exceeds a certain level per cell, this indicates that the battery is already fully charged so that high current charging is unnecessary. Ultra-fast charging will be terminated and replaced with a trickle charge (in the "burst" mode). In addition the rate of change of battery voltage is also monitored by full cell detector M25 within the same time frame. If a certain threshold is exceeded, indicating also a "full" cell condition, ultra-fast charging is stopped, and the trickle charge "burst" mode is entered.

The battery level is also checked during the same period by M13 for faulty conditions. If the battery is found to be faulty, ultra-fast charging is stopped, and the trickle charge "burst" mode is entered. After the first few minutes determined by the one-shot timer M12, no checking will be done for maximum voltage level, faulty voltage level and "full" cell detection.

Next the computer connected to the A0 line (FIG. 1) is checked for its on/off status by the power sharing detector M2 to decide whether to continue with ultra-fast charging or switch to fast charging.

The battery is then checked for the inclusion of a thermistor Y9 at block M6. If a thermistor is used, dT/dt (rate of change of cell temperature) is measured at block M7. If a thermistor is not used, dV/dt (rate of change of battery voltage) is measured at block M5. At these two blocks the dT/dt or the dV/dt is monitored for the pre-measurement phase and the respective flags set accordingly when detection occurs.

The setting of either the dT/dt or dV/dt flag completes the pre-measurement phase and opens the gate for the final end-of-charge detection at M9 (for detection of setting of -dV flag) and M10 (for detection of the setting of the zero dV/dt flag) concurrently. Setting of either the -dV flag or zero dV/dt flag will complete the end-of-charge detection, after which charging will be replaced with the "burst" mode (trickle charge).

If the battery is not near to the end-of-charge point yet, a scan time follows during which the battery presence detection (by M15), cell temperature detection (by M11) and charging time detection (by M14) are done. If the battery is removed, charging is stopped and the "burst" mode (trickle charging) takes over. In the "burst" mode, the battery contacts are continuously scanned and if a battery is reconnected, the whole charge cycle is repeated.

If cell temperature exceeds a maximum value Tmax, high current charging will be stopped and will be replaced with the "burst" mode. Similarly if the internally set timer M14 counts down to zero before any other detection is made, ultra-fast/fast charging is also stopped. Otherwise the whole charging cycle will repeat itself from point "A" until terminated by the "burst" mode.

In the "burst" mode, the trickle charge current is set, M22. The battery presence detector M15 detects if a "full" battery is removed and replaced with another pack. In that event, charging will restart from the beginning without the need for any power down and up again procedure. Otherwise, once in the "burst" mode, the charge cycle will remain in that mode until the power-on reset is applied again.

FIG. 4 is a block diagram of a battery charger monitor BCM. The battery charger monitor BCM comprises the ADC channel and filter M3 connected to the battery voltage input terminal V_(batt), the ADC channel and filter M4 connected to the cell temperature input Temp, the dV/dt detector M5, the thermistor detector M6, the dT/dt detector M7, the gate MS, a further gate B4, the -dV detector M9 and the zero dV/dt detector M10. The gate M16 is shown in FIG. 4, but only two of its inputs are illustrated. The gate M16 is shown connected to the flip-flop M17. FIG. 4 also shows a timer B11 which receives a clock signal Clock from the clock M27 in FIG. 2 and produces outputs Tclk and Vclk. There now follows a more detailed description of the operation of the battery charger monitor BCM. It will be appreciated that FIG. 4 shows the ADC channels and filters M3 and M4 each as two components, namely an ADC channel B1,B7 respectively and a digital filter B2,B8 respectively.

The battery voltage is measured at the V_(batt) terminal and converted from its analog form to a digital form by one channel of the analog-to-digital converter B1. The digital value is then fed into the simple digital filter B2 for filtering, through an 8-bit bus 60.

Similarly the cell temperature is measured through the Temp terminal and fed into another channel of the analog-to-digital converter B7 and filtered by the digital filter B8. The thermistor detector M6 samples the 8-bit information from the filter B8 and determines whether a thermistor Y9 is being used or not. If yes, the dT/dt detector, M7, will be enabled and the dV/dt detector, M5, disabled. If otherwise, M5 will be enabled and M7 disabled.

If the dV/dt detector M5 is enabled, it will monitor the gradient (dV/dt) of the voltage charging curve which is as illustrated in FIG. 5. As can be seen in FIG. 5, there is a substantial increase in the gradient between points P1 and P2 and this causes a dV/dt flag to be set. If the dT/dt detector M7 is enabled it will similarly monitor the gradient (dT/dt) of the temperature curve as illustrated in FIG. 6 until it detects a sharp increase in gradient, between points P6 and P7 on curve c for a NICD battery or points P8 and P9 on curve d for a NIMH battery when it will set a dT/dt flag. The gradient is monitored by making sequential measurements of voltage or temperature at interval durations (e.g. between points P1 and P2 in FIG. 5) generated by the timer B11. T_(clk) sets the interval duration for dT/dt measurements and V_(clk) sets the interval duration for dV/dt measurements.

When one of the dV/dt and the dT/dt flags is set, the -dV detector M9 and the zero dV/dt detector M10 are simultaneously activated, through the gate MS, enabling -dV (voltage drop) and zero dV/dt (voltage level) measurements to be taken concurrently. At this stage battery voltage measurements (through the 8-bit bus from the filter B2) are taken by the -dV detector M9 at one second intervals to monitor any negative voltage drop. Once this drop is detected (points P3 and P4, FIG. 5b) a -dV flag is set. This indicates an end-of-charge condition in an NICD battery.

At the same time the battery voltage slope is monitored between points, the interval of which is set by a clock signal Z_(clk). Z_(clk) is a clock signal derived from the gate B4, the inputs of which come from the dV/dt detector M5 (V_(clk)) or the dT/dt detector M7 (T_(clk)) depending on which of these circuits is enabled for pre-measurements. Once no change in voltage has been detected between points P3 and P5 in FIG. 5, the zero dV/dt flag will be set, due to a flat voltage slope in this region. This indicates an end-of-charge condition in an NIMH battery.

Once the -dV flag or the zero dV/dt flag is set, a "high" level will be available at the D input 18 of the flip-flop M17 through the gate M16. This "high" level will be transferred to the Q output 20 of M17 at the next clock pulse to enable trickle charging. The Q output 22 of the flip-flop M17 will be held "low" to disable ultra-fast or fast charging. At this point the battery pack is deemed full and only a low capacity trickle charge is required, for maintenance, to replenish self-discharging of the cells.

At start-up, the set pin 34 of the flip-flop M17 will be held "low" and the clear pin 35 held "high" (always) to disable ultra-fast or fast charging ("low" at the Q output 22 and "high" at the Q output 20) no matter what signal is available at the D input 18. Once the enable signal (a "high" level) arrives at the set pin 34, the high current charging (ultra-fast or fast mode) is activated ("high" at the Q output and "low" at the Q output) until detection is made by the -dV detector M9 or the zero dV/dt detector M10, after which trickle charging will take over.

FIG. 7 is a circuit diagram for the negative (-dV) detector M9.

As described above with reference to FIG. 4, the battery voltage at terminal V_(batt) is fed into the analog-to-digital converter (ADC) B1. In the ADC, the battery voltage is converted from an analog form into a digital form and fed into the digital filter B2. After filtering, the 8-bit information is then stored in a V_(aver) register B3. A plurality of registers B5,B6,B17 are connected to sequentially receive filtered voltage values. The V_(aver) register B3 is connected to a V_(max) register B5, which is connected to V_(aver1) register B6 which is connected to V_(aver2) register B17.

All the registers B3,B5,B6 and B17 are clocked by a signal clk from a timer B18 which takes its input from clock M27 in FIG. 2. The signal clk has the same frequency as the measurement cycle (the frequency at which battery voltage measurements are taken). On the first clock pulse, data in the register B3 is shifted into B5, with the latest battery voltage data being stored in B3. On the next cycle, the data is clocked through so that the contents of B5 are shifted into B6, the contents of B3 into B5, etc. Thus after four cycles all the registers V_(aver) (B3), V_(max) (B5), V_(aver1) (B6) and V_(aver2) (B17) should have data in them.

B14 is a peak voltage detector which continuously compares the data from register B3 at input 50 with that from register B5 at input 52. While input 50 is greater than or equal to input 52 an enable signal is fed to register B5 so that the higher value (content of register B3) will be loaded into register B5 at the next clock cycle. Otherwise, the enable signal from peak detector B14 will not be active and the content of register B5 will not be changed at the next cycle. Thus the V_(max) register B5 always contains the highest voltage level on record among all the registers.

A -dV detector B9 compares the contents of register B3, which is the newest being read in, with that from register B5 which holds the highest value. Once the content in register B3 is lower than that in register B5 by a predetermined value (e.g. 50 mV) and is detected by -dV detector B9, its Q output 56 will go "high".

Registers B6 and B17 contain the previous voltage data prior to the detection of the voltage drop. Their data is fed together with that from register B5 into a level detector B10. Only when all three data inputs are equal will the Q output 58 of level detector B10 go "high".

When both Q outputs from -dV detector B9 and level detector B10 are "high", detected by a gate B11, a n-bit shift register B12 is enabled. A "high" signal will be transferred to its Q₀ pin at the next clock pulse. This "high" signal will be transferred to the Q1 pin and the signal at the input of shift register B12 transferred to the Q₀ pin by a further clock pulse. Thus after n clock pulses from the moment both outputs from B9 and B10 go "high", the original "high" level should be transferred to the Q_(n) pin. Thus it will take n successive verifications by detectors B9 and B10 to have all the Q pins of shift register B12 "high". This system can be used for re-validation of any possible -dV detection, the number of times depending on the number of outputs that the shift register can offer. Only when all Q pins of shift register B12 are "high" will output circuit B13 confirm the validity of the detection. It will output a "high" signal at output 62 to disable ultra-fast or fast charging at the external charger circuit Y2.

In the case of a false detection where the contents of the register B6 and B17 are not equal to the contents of the register B5, it is most likely that a value corresponding to the amplitude of a voltage "spike" has been stored in the register B5. When this situation arises the Q output of the -dV detector B9 will be "high" and the Q output of the level detector B10 will be "low". This will cause the output of an AND gate BB1 to go "high" because the AND gate BB1 has as one of its inputs the Q output of the -dV detector B9, and as its other input the Q output of the level detector B10 inverted through an inverter gate BB3. Hence through the OR gate BB2 the register B5 will be enabled regardless of the state of the peak detector B14. Therefore the contents of the register B3 will be clocked into the register B5, the false data in the register B5 will be clocked into the register B6, and the data in the register B6 will be clocked into the register B17. The next clock pulse or cycle will result in another false detection, as the false data is now in register B6, and result in the false data being clocked into register B17. Thus on the next clock pulse or cycle a further false detection will occur but the false data will be erased from register B17 and the circuit of FIG. 7 can resume further measurement. It can be seen that in the event of the Q outputs of the -dV comparator B9 and the level detector B10 being high the output of the AND gate BB1 is low and the peak detector B14 either enables or disables the register B5 through the OR gate BB2.

All readings in storage are updated during every battery voltage measurement in an ongoing process no matter whether there is any -dV detection or not. All measurements and re-checking are done without any interruption to charging and within a very short time frame (a few seconds) thus giving very quick response to the monitoring and avoiding overcharging, without any compromise to the accuracy. Also minimum filtering is needed, thus saving cost.

The -dV detection circuit described above with reference to FIG. 7 employs a detection method that makes use of the fact that the battery voltage changes very gradually, unlike switching noises which are in the range of hundreds of kHz. By maintaining measurements before the moment when -dV is suspected to occur, and also taking measurements after that moment, it is possible to filter out the switching noises and only act on genuine drops in voltage.

Referring to FIG. 8a, if the amplitude at V3 is lower than that at V2 by more than the threshold (e.g. 50 mV), the reading at V1 is compared to that at V2. If amplitudes at V1 and V2 are not the same, then the detection is rejected as noise, as the voltages at V1 and V2 are not expected to differ due to the short time duration between measurements (typically one second interval).

If a voltage drop of more than 50 mV (-dV detection threshold) is detected from V4 to V5, the voltage at V6 is taken and compared to that at V4. If it is not consistent with the earlier voltage drop (from V4 to V5), the detection is ignored for the same reason.

Only a genuine voltage drop of more than 50 mV like that shown in FIG. 8b (from V8 to V9) will be treated as a true -dV detection, as V7 and V8 have the same amplitude and V10 has a level which is more than 50 mV less than that at V8. 

What is claimed is:
 1. A battery charging circuit for charging a battery, comprising:a voltage drop detection circuit for producing a first detection signal on detecting a drop in battery voltage with respect to time; a peak voltage detection circuit for producing a second detection signal on detecting a period of constant battery voltage with respect to time; means for enabling said detection circuits to operate simultaneously and to enable both of said detection circuits to be responsive to the battery voltage from a battery to be charged; and battery charging means connected to receive said first and second detection signals, said battery charging means being arranged to charge the battery until either one of said first and second detection signals is generated and to terminate fast charging on receipt of either one of said first and second signals.
 2. A battery charging circuit according to claim 1 wherein the enabling means includes a circuit for measuring the rate of change of said battery voltage with respect to time.
 3. A battery charging circuit according to claim 1 or 2 wherein the enabling means includes a circuit for measuring the rate of change of temperature of the battery to be charged with respect to time.
 4. A battery charging circuit according to claim 3 which includes a thermistor detection circuit operable to detect whether or not a thermistor is present with the battery to be charged and to select said circuit for measuring the rate of change of temperature of the battery if said thermistor is detected, and to select said circuit for measuring the rate of change of said battery voltage if said thermistor is not detected.
 5. A battery charging circuit according to claim 1 or 2 which comprises an ambient temperature detector for determining whether or not the ambient temperature lies within a predetermined temperature range and for selecting a charge current accordingly.
 6. A battery charging circuit according to claim 1 or 2 which comprises a maximum temperature detection circuit operable to detect the battery temperature and to discontinue charging at a fast rate when a maximum temperature is exceeded.
 7. A battery charging circuit according to claim 1 comprising a full battery detection circuit operable to detect the rise in the battery voltage at initiation of charging by said battery charging means and to select the charging current accordingly.
 8. A battery charging circuit according to claim 1 which comprises a maximum voltage detection circuit for detecting the battery voltage on initiation of charging and for controlling a charging current if the detected voltage exceeds a predetermined maximum.
 9. A battery charging circuit according to claim 7 or 8 wherein a period of detection of full battery and maximum voltage following initiation of charging by the battery charging means is set by a timer circuit.
 10. A battery charging circuit according to claim 1 or 2 which has a plurality of charging outputs for implementing respectively ultra fast charging, fast charging and trickle charging.
 11. A battery charging circuit according to claim 1 or 2 which includes a timer for determining a maximum charge time.
 12. A battery charging circuit for charging Ni-MH batteries and Ni-Cd batteries, said battery charging circuit comprising:a first detection circuit for producing a first detection signal on detecting when a battery to be charged is near to an end-of-charge point; a voltage drop detection circuit for producing a second detection signal on detecting a drop in battery voltage with respect to time; a peak voltage detection circuit for producing a third detection signal on detecting a period of constant battery voltage with respect to time; means for enabling, on receipt of the first detection signal from said first detection circuit, said voltage drop detection circuit and said peak voltage detection circuit to operate simultaneously and to enable both said voltage drop detection circuit and said peak voltage detection circuit to be responsive to the the voltage from said battery to be charged; and battery charging means connected to receive the second and third detection signals, said battery charging means being arranged to charge the battery until either one of the second and third detection signals is generated and to terminate fast charging on receipt of one of said second and third signals.
 13. A battery charging circuit as claimed in claim 12, wherein said first detection circuit comprises a circuit for measuring the rate of change of temperature of the battery to be charged with respect to time, said first detection circuit being arranged to produce said first detection signal when the rate of change of temperature exceeds a predetermined value, said predetermined value being indicative that the battery to be charged is near to the end-of-charge point.
 14. A battery charging circuit as claimed in claim 12, wherein said first detection circuit comprises a circuit for measuring the rate of change of the battery voltage with respect to time, said first detection circuit being arranged to produce said first detection signal when the rate of change of the battery voltage exceeds a predetermined value.
 15. A battery charging circuit as claimed in claim 12, wherein said first detection circuit comprises:first means for detecting the rate of change of temperature of the battery to be charged with respect to time; second means for detecting the rate of change of the battery voltage of the battery to be charged with respect to time; and means for detecting whether a thermistor is present with the battery to be charged and for selecting the first detecting means if said thermistor is detected and to select the second means if said thermistor is not detected, said selected detecting means being arranged to produce said first detection signal when said battery is near to the end-of-charge point. 